package com.dxj.dog.admin.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.dxj.common.annotation.Excel;
import com.dxj.common.core.domain.BaseEntity;

/**
 * 流浪狗管理对象 dog_admin
 *
 * @author 王清江
 * @date 2022-03-27
 */
public class DogAdmin extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 狗的id */
    private Long dogId;

    /** 狗的图片地址 */
    @Excel(name = "狗的图片地址")
    private String dogAvatar;

    /** 狗的姓名 */
    @Excel(name = "狗的姓名")
    private String dogName;

    /** 狗的性别(0男 1女 2未知) */
    @Excel(name = "狗的性别(0男 1女 2未知)")
    private String dogSex;

    /** 狗的年龄 */
    @Excel(name = "狗的年龄")
    private Long dogAge;

    /** 狗的类型(0未知 1土狗 2拉布拉多 3阿拉斯加 4萨摩) */
    @Excel(name = "狗的类型(0未知 1土狗 2拉布拉多 3阿拉斯加 4萨摩)")
    private String dogType;

    /** 狗的领养状态(0无人领养 1领养人申请 2工作人员审核 3成功被领养) */
    @Excel(name = "狗的领养状态(0无人领养 1领养人申请 2工作人员审核 3成功被领养)")
    private String dogAdoptionStatus;

    /** 狗被领养的时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "狗被领养的时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dogAdoptionTime;

    /** 狗的健康状态(0健康 1良好 2一般 3差) */
    @Excel(name = "狗的健康状态(0健康 1良好 2一般 3差)")
    private String dogHealthStatus;

    /** 狗的疫苗记录数 */
    @Excel(name = "狗的疫苗记录数")
    private Long vaccineNumbers;

    /** 狗的描述 */
    @Excel(name = "狗的描述")
    private String dogDescription;

    /** 狗的状态(0正常 1停用) */
    @Excel(name = "狗的状态(0正常 1停用)")
    private String status;

    /** 删除标志(0代表存在 2代表删除) */
    private String delFlag;

    /** 乐观锁版本 */
    private Long version;

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }

    public void setDogId(Long dogId)
    {
        this.dogId = dogId;
    }

    public Long getDogId()
    {
        return dogId;
    }
    public void setDogAvatar(String dogAvatar)
    {
        this.dogAvatar = dogAvatar;
    }

    public String getDogAvatar()
    {
        return dogAvatar;
    }
    public void setDogName(String dogName)
    {
        this.dogName = dogName;
    }

    public String getDogName()
    {
        return dogName;
    }
    public void setDogSex(String dogSex)
    {
        this.dogSex = dogSex;
    }

    public String getDogSex()
    {
        return dogSex;
    }
    public void setDogAge(Long dogAge)
    {
        this.dogAge = dogAge;
    }

    public Long getDogAge()
    {
        return dogAge;
    }
    public void setDogType(String dogType)
    {
        this.dogType = dogType;
    }

    public String getDogType()
    {
        return dogType;
    }
    public void setDogAdoptionStatus(String dogAdoptionStatus)
    {
        this.dogAdoptionStatus = dogAdoptionStatus;
    }

    public String getDogAdoptionStatus()
    {
        return dogAdoptionStatus;
    }
    public void setDogAdoptionTime(Date dogAdoptionTime)
    {
        this.dogAdoptionTime = dogAdoptionTime;
    }

    public Date getDogAdoptionTime()
    {
        return dogAdoptionTime;
    }
    public void setDogHealthStatus(String dogHealthStatus)
    {
        this.dogHealthStatus = dogHealthStatus;
    }

    public String getDogHealthStatus()
    {
        return dogHealthStatus;
    }
    public void setVaccineNumbers(Long vaccineNumbers)
    {
        this.vaccineNumbers = vaccineNumbers;
    }

    public Long getVaccineNumbers()
    {
        return vaccineNumbers;
    }
    public void setDogDescription(String dogDescription)
    {
        this.dogDescription = dogDescription;
    }

    public String getDogDescription()
    {
        return dogDescription;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dogId", getDogId())
            .append("dogAvatar", getDogAvatar())
            .append("dogName", getDogName())
            .append("dogSex", getDogSex())
            .append("dogAge", getDogAge())
            .append("dogType", getDogType())
            .append("dogAdoptionStatus", getDogAdoptionStatus())
            .append("dogAdoptionTime", getDogAdoptionTime())
            .append("dogHealthStatus", getDogHealthStatus())
            .append("vaccineNumbers", getVaccineNumbers())
            .append("dogDescription", getDogDescription())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
